package com.atguigu.spzx.user.mapper;

import com.atguigu.spzx.model.entity.user.UserAddress;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author syh
 * @create 2023-09-03 15:46
 */
@Mapper
public interface UserAddressMapper {
    List<UserAddress> findUserAddressList(Long userId);

    void save(UserAddress userAddress);

    void cancelUserAddressDefaultByUserId(Long userId);

    UserAddress findUserAddressById(Long id);
}
